package com.sunni.mapper;

import com.sunni.entity.Account;

import java.util.List;
import java.util.Map;

public interface AccountMapper {
    Integer insert(Account account);
    Integer delete(Integer id);
    Integer update(Account account);
    List<Account> findAll();
    Account findById(Integer id);

    Account findByIdAndUsername(Map map);
    List<Account> findByIds(List<Integer> ids);
}
